// import axios from 'axios'
import request from '@/utils/request'
// 获取所有md

export function getMdList() {
    return request({
        url: '/getMd/getAllArticles',
        method: 'get'
    })
}

export function getArticleById(id) {
    return request({
        url: `/getMd/getArticleById/${id}`,
        method: 'get'
    })
}